//
//  CTMediator+WNVCTestVC.m
//  WNVCKit_Example
//
//  Created by wnsj on 2021/9/22.
//  Copyright © 2021 wnsj. All rights reserved.
//

#import "CTMediator+WNVCTestVC.h"

@implementation CTMediator (WNVCTestVC)

-(UIViewController *)secondVCWithName:(NSString *)name WithBlock:(dispatch_block_t)callBlcok
{
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    parameters[@"name"] = name;
    parameters[@"callBlcok"] = callBlcok;
    
    return [self performTarget:@"WNVCTestVC" action:@"SecondVC" params:parameters shouldCacheTarget:NO];
}
@end
